<h2 class="t-center"> Students </h2>

<ul class="box" id="submenu">
	
	{% for name, url in settings.STUDENTS_PROFILE_MENU %}
		<li {% if url == request.path %} id="submenu-active" {% endif %}> 
			<a href="{{ url }}"> {{ name }} </a>
		</li>
	{% endfor %}
	
	{% if request.path not in settings.STUDENTS_PROFILE_MENU_URLS %}
		<br />
		<li id="submenu-active"> 
			<a href="{{ request.path }}"> {{ title|truncatewords:4 }} </a>
		</li>	
	{% endif %}
	
</ul>

<div class="empty_space"></div>

<!-- Search --> 
<form action="{% url search_profiles %}" method="get" id="search">
    <fieldset>
        <legend>
            Enter Name or Reg. Number
        </legend>
        <p>
            <input type="text" size="1" name="q" class="input-text" />&nbsp; <input type="submit" value="Search" class="input-submit-02" />
        </p>
    </fieldset>
</form>


